Add copilot-instructions.md for GitHub copilot#16
Conversation
Signed-off-by: Eli Ma <eli@patch.sh>
There was a problem hiding this comment.
Pull Request Overview
This PR adds GitHub Copilot custom instructions to guide AI-assisted development in the git-internal repository. The instructions establish standards for a Rust-based Git internals rewrite targeting monorepo-scale performance.
Key Changes:
- Defines repository purpose: advanced Git object model rewrite for large-scale repositories
- Establishes Rust coding standards, testing requirements, and performance considerations
- Documents architectural components and Git compatibility requirements (SHA-1/SHA-256)
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
| ## Provide clear invariants | ||
|
|
||
| - Content-addressed: objects are identified by their content hash (SHA-1 or SHA-256). | ||
| - Idempotent: same input always produces same output. | ||
| - Backward/forward compatibility: old clients can fetch new packs, new clients can fetch old packs. | ||
|
|
||
| ## Testing |
There was a problem hiding this comment.
Duplicate section header: '## Provide clear invariants' appears at line 54 and its content is repeated within the '## Testing' section at lines 56-59. This creates confusion about the document structure. Consider either removing this standalone section and keeping the invariants content within the Testing section, or reorganizing to make the invariants a separate top-level section before Testing.
| ## Provide clear invariants | |
| - Content-addressed: objects are identified by their content hash (SHA-1 or SHA-256). | |
| - Idempotent: same input always produces same output. | |
| - Backward/forward compatibility: old clients can fetch new packs, new clients can fetch old packs. | |
| ## Testing |
* Add copilot-instructions.md for GitHub copilot Signed-off-by: Eli Ma <eli@patch.sh> * Update .github/copilot-instructions.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update .github/copilot-instructions.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Signed-off-by: Eli Ma <eli@patch.sh> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
No description provided.